package top.lywivan.mm.service;

import top.lywivan.mm.entity.PageResult;
import top.lywivan.mm.entity.QueryPageBean;
import top.lywivan.mm.pojo.Course;

import java.util.List;

public interface CourseService {
    PageResult findListByPage(QueryPageBean queryPageBean);

    void addCourse(Course course);

    void updateCourse(Course course);

    void deleteCourseById(Integer id);

    List<Course> findListAllCourse();
}
